package com.active.service;

import com.active.bean.ActiveUser;

public interface IActiveUserService {

    /**
     * 查询用户。如果没有则返回null
     * @param userId 用户id
     * @return
     * @throws Exception
     */
    ActiveUser getUserById(Integer userId) throws Exception;

    ActiveUser getUserByPassword(String name,String password) throws Exception;

}
